import 'package:flustars_flutter3/flustars_flutter3.dart';
import 'package:flutter/material.dart';
import 'package:ls_work/common/common.dart';
import 'package:ls_work/res/styles.dart';
import 'package:ls_work/widgets/load_image.dart';

class HomeHelloCell extends StatelessWidget {
  // final String iconUrl =
  //     'https://user-gold-cdn.xitu.io/2019/7/11/16bdea7aacaa3143?imageView2/0/w/1280/h/960/format/webp/ignore-error/1';

  @override
  Widget build(BuildContext context) {
    return Container(
      width: ScreenUtil.getScreenW(context),
      padding: EdgeInsets.fromLTRB(15, 30, 12, 15),
      child: Row(
        mainAxisAlignment: MainAxisAlignment.start,
        children: <Widget>[
          LoadAssetImage('home/yyt_logo',width: 80,),
          SizedBox(
            width: 30,
          ),
          Expanded(
            child: Text('“  嗨，${SpUtil.getString(Constant.userName)}，早上好，\n\n感谢您对每一位长者的付出！”', style: TextStyles.textBoldDark16,),
          )
        ],
      ),
    );
  }
}
